import {get, post} from '../utils/request'

export function reqOpenId (data) {
  return post('/api/v2/wechat/mini/login', data)
}

export function wxLogin (data, config) {
  return post('/api/v2/login/wechatMini', data, config)
}

export function wxMobileLogin (data, config) {
  return post('/api/v2/login/wechatMiniMobile', data, config)
}